﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Home.master" AutoEventWireup="true" CodeFile="Sale.aspx.cs" Inherits="Sale" %>

<%@ Register Src="~/AdvButton.ascx" TagPrefix="uc1" TagName="AdvButton" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="home" runat="Server">
    <div class="mark">
        <img src="images/home.png" /><span>您现在的位置：</span>
        <a href="Index.aspx">首页</a><font>></font><a href="SaleList.aspx">房源信息</a>
        <div class="timeBox">今天是：<%= Sys.Common.StringHelper.TimeAndDayOfWeek() %></div>
    </div>
    <div class="main">
        <div class="mainBar">
            <div class="mainBarTitle"><strong class="red"><%= model.BuildingNameCH %><%= String.IsNullOrEmpty(model.BuildingNameEng as string)?string.Empty: "("+model.BuildingNameEng+")"%></strong></div>
            <div class="mainBarC">
                <div class="hotelInfo">
                    <%--<p>
                        参考价格：<%= model.Price %>
                    </p>--%>

                    <table class="datagrid-btable" border="0" cellspacing="0" cellpadding="0" width="100%">
                        <tr class="datagrid-row">
                            <td class="th">
                                <div class="datagrid-cell" style="color:darkblue;">区域：</div>
                            </td>
                            <td class="td">
                                <div class="datagrid-cell">
                                    <%= model.Region %>
                                </div>
                            </td>
                            <td class="rth">
                                <div class="datagrid-cell" style="color:darkblue;">类型：</div>
                            </td>
                            <td class="td">
                                <div class="datagrid-cell">
                                    <%= model.HouseCategory %>
                                </div>
                            </td>
                            <td class="rth">
                                <div class="datagrid-cell" style="color:darkblue;">房型：</div>
                            </td>
                            <td class="td">
                                <div class="datagrid-cell">
                                    <%= model.GapCategory %>
                                </div>
                            </td>
                            <td class="rth">
                                <div class="datagrid-cell" style="color:darkblue;">租金：</div>
                            </td>
                            <td class="td">
                                <div class="datagrid-cell">
                                    <%= model.RentPrice %>
                                </div>
                            </td>
                            <td class="rth">
                                <div class="datagrid-cell" style="color:darkblue;">售价：</div>
                            </td>
                            <td class="td">
                                <div class="datagrid-cell">
                                    <%= model.SellPrice %>
                                </div>
                            </td>
                        </tr>
                        <tr class="datagrid-row">
                            <td class="th">
                                <div class="datagrid-cell" style="color:darkblue;">街道中文：</div>
                            </td>
                            <td class="td">
                                <div class="datagrid-cell">
                                    <%= model.StreetNameCH %>
                                </div>
                            </td>
                            <td class="rth">
                                <div class="datagrid-cell" style="color:darkblue;">街道英文：</div>
                            </td>
                            <td class="td">
                                <div class="datagrid-cell">
                                    <%= model.StreetNameEng %>
                                </div>
                            </td>
                        </tr>
                        <tr class="datagrid-row">
                            <td class="th">
                                <div class="datagrid-cell" style="color:darkblue;">房龄：</div>
                            </td>
                            <td class="td">
                                <div class="datagrid-cell">
                                    <%= model.HouseAge %>
                                </div>
                            </td>
                            <td class="rth">
                                <div class="datagrid-cell" style="color:darkblue;">建筑面积：</div>
                            </td>
                            <td class="td">
                                <div class="datagrid-cell">
                                    <%= model.FeetNumber %>
                                </div>
                            </td>
                            <td class="rth">
                                <div class="datagrid-cell" style="color:darkblue;">套内面积：</div>
                            </td>
                            <td class="td">
                                <div class="datagrid-cell">
                                    <%= model.PracticalArea %>
                                </div>
                            </td>
                            <td class="rth">
                                <div class="datagrid-cell" style="color:darkblue;">更新人：</div>
                            </td>
                            <td class="td">
                                <div class="datagrid-cell">
                                    <%= model.UpdateUser %>
                                </div>
                            </td>
                            <td class="rth">
                                <div class="datagrid-cell" style="color:darkblue;">联系电话：</div>
                            </td>
                            <td class="td">
                                <div class="datagrid-cell">
                                    <%= model.UpdateUserTel %>
                                </div>
                            </td>
                        </tr>
                        <tr class="datagrid-row">
                            <td class="th">
                                <div class="datagrid-cell" style="color:darkblue;">更新时间：</div>
                            </td>
                            <td class="td">
                                <div class="datagrid-cell">
                                    <%= model.LastUpdTime %>
                                </div>
                            </td>
                        </tr>
                    </table>

                </div>
                <div class="tabBox">
                    <div class="tabBoxTitle">
                        <strong>房源圖片</strong>
                    </div>
                    <div class="tabBoxC"><%= GetImages(model.ID.ToString()) %></div>
                </div>
                <div class="tabBox">
                    <div class="tabBoxTitle">
                        <strong>房源介紹</strong>
                    </div>
                    <div class="tabBoxC"><%= model.Remark %></div>
                </div>
            </div>
        </div>
    </div>
    <uc1:AdvButton runat="server" ID="AdvButton" />
</asp:Content>
